package com.shxt.framework.rbac.role.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.shxt.framework.rbac.role.dao.RoleDao;
import com.shxt.framework.rbac.role.model.Role;
import com.shxt.framework.rbac.role.service.RoleService;
@Service
public class RoleServiceImpl implements RoleService {
	@Autowired
	private RoleDao roleDao;

	@Override
	public List<Role> getAllRoleList() {
		return this.roleDao.getAllRoleList();
	}

	@Override
	public Role load( Integer role_id ) {
		return this.roleDao.load(role_id);
	}
}
